using System;

using CStock;

namespace CTrading
{
	public delegate void ConditionChangedEventHandler( object sender , ConditionChangedEvent e );
	
	/// <summary>
	/// Summary description for ConditionChangedEvent.
	/// </summary>
	public class ConditionChangedEvent
	{
		private object condition;
		private int index;

		
		/// <summary>
		/// 
		/// </summary>
		/// <param name="tc"></param>
		public ConditionChangedEvent( int MyIndex,object tc )
		{
			this.condition = tc;
			this.index = MyIndex;


		}

		/// <summary>
		/// Gets the selected color.
		/// </summary>
		public object Condition
		{
			get
			{
				return this.condition;
			}
		}
		/// <summary>
		/// Gets the selected color.
		/// </summary>
		public int Index
		{
			get
			{
				return this.index;
			}
		}
	}
	

		
}
